package lpg;

class ActionBlockElement
{
    ActionBlockElement(int ruleNumber, ActionBlockKind location, int blockToken, StringBuilder buffer)
    {
        this.ruleNumber = ruleNumber;
        this.location   = location;
        this.blockToken = blockToken;
        this.buffer     = buffer;
    }

    final int ruleNumber;
    final ActionBlockKind location;
    final int blockToken;
    final StringBuilder buffer;

    static enum ActionBlockKind
    {
        INITIALIZE,
        BODY,
        FINALIZE;
    }

}
